package com.bestcem.xm.member.grpc.service.param.project;

import com.bestcem.xm.common.core.constant.RegTypes;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;
import java.util.List;

/**
 * @author dc.wang <dc.wang@idiaoyan.com>
 * @version V1.0
 * @description 批量删除联系人请求参数
 * @date 2021/7/19
 */
@Getter
@Setter
@ToString
public class BatchDeleteProjectParam {
    /**
     * 企业标识
     */
    @NotBlank(message = "企业标识为空")
    @Pattern(regexp = RegTypes.OBJECT_ID, message = "企业标识格式错误")
    private String orgId;

    /**
     * 项目标识集合
     */
    @NotEmpty(message = "项目标识为空")
    @Pattern(regexp = RegTypes.OBJECT_ID, message = "项目标识格式错误")
    private List<String> ids;
}
